package exam.wzb.jsp.mapper;

import exam.wzb.jsp.model.Book;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;


public interface BookMapper {
    List<Book> findBooksByName(String name);

    void deleteBookById(Integer id);
    List<Book> getBooksByPage( int offset, int limit);
}
